package com.luck.easyfoodbatch.util;

/**
 * author：luck
 * project：LoveCare
 * package：com.tongyu.luck.lovecare.util
 * email：893855882@qq.com
 * data：16/8/10
 */
public class HttpUtil {
    public static final int REQUEST_CODE_CAMERA = 1000;
    public static final int REQUEST_CODE_GALLERY = 1001;
    public static final int REQUEST_CODE_CROP = 1002;
    public static final int REQUEST_CODE_EDIT = 1003;
    public static final int RESULT_OK = 1;
    public static final int RESULT_ERROR = 0;
    public static final String MOBILE = "mobile";
    public static final String KEY = "ttouch2016";
    public static final String CALL_PHONE = "021-60533381";
    public static final String EMAIL = "yangyicheng@126.com";
    public static final String USER_KEY = "userKey";
    public static final String APIKEY = "_apiKey";
    public static final String UDID = "_udid";
    public static final String VERSION = "_vApp";
    public static final String SIGN = "_sign";
    public static final String UID = "uid";
    public static final String TOKEN = "token";
    public static final String TIME = "time";
    public static final String AUTHTOKEN = "authToken";
    public static final String STATUS = "status";
    public static final String SUCCEED = "A0000";
    public static final String CODE = "code";
    public static final String LOGIN_CODE = "E1111";
    public static final String MSG = "msg";

    public static final String P_ID = "p_id";
    public static final String P_NAME = "p_name";


    // 商户PID
    public static final String PARTNER = "2088521118508364";
    // 商户收款账号
    public static final String SELLER = "3349628097@qq.com";
    // 商户私钥，pkcs8格式
    public static final String RSA_PRIVATE = "MIICWwIBAAKBgQCQ7hRO8HNVZlTWudS2i5AgbmMEu0knsdquCaz7me7NoPMrst+A3XVqlOpzRW0asd1LcLdeX5Q2X2YqtyLQHALcxErmuKxpVYUGhSbRAwJjKXnFV3bbj8S1XaC7m6NuUEb/vX2VfY/LKPznPBt4fTmitkkC4uX0dYugbBFq1x/hAwIDAQABAoGAertTMWJImTp2f/yQ2SGpJP22Fsyvb9EauiVxewPpifNR2mC5Czz/cQm43XMeqOuU1o0Wi/Hu5ni1YVkDPy9pb9sB1mshtpKWkhtwL2znuPlTKWlDxn+xdW+N7Fpj5tvJiEJAxASJsgXAVDpL8w7X7ZEy/dLFIij/rUL3xttmrrECQQDBG760wBJJJjASo/8FBWs1DP7Yiw/ytJ7pIQBxEidiywmpeq/vjKZqdrIhRRbyfWpQXfSnCxSKPBizAw2FofuLAkEAwCGAMkVdzfXEOPYwZSjeP33FDyxM5o6fYgTSV/gVa8mJj5XXk62Q848099qayCYTPgU5K31FAqpd5YblI2m/aQJAds7cIRa+6VReZUmSwAMad3Q8YvwD3t4zmtkcDXUO2GB03FnIXsiZJo1KgN+iA6UXwMRdnlxZ0caxp4lsS1hiiwJABkMRQpIwNH5GHvUnLqTeWYNn4M640urjFvbBREy5pgGzkhJ4LEAD8WxBdbKSSOO0zNiuvFQg461Z0hlLbpQLwQJARwNkw9AUPOIrqv62ydR1rgGqA1q1eqjkrCd67MdyrNrgS4FijhAikJCEwyBZb9tPTsDAOdFDIohmVL8A06ruzw==";
    // 支付宝公钥
    public static final String RSA_PUBLIC = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCQ7hRO8HNVZlTWudS2i5AgbmMEu0knsdquCaz7me7NoPMrst+A3XVqlOpzRW0asd1LcLdeX5Q2X2YqtyLQHALcxErmuKxpVYUGhSbRAwJjKXnFV3bbj8S1XaC7m6NuUEb/vX2VfY/LKPznPBt4fTmitkkC4uX0dYugbBFq1x/hAwIDAQAB";

    public static final String HTTP = "http://yishipi.com.cn/frontend/web/site/help/";
    //public static final String NEWS_DETAIL = "http://123.57.245.43/yishipi/frontend/web/site/news/";
    public static final String NEWS_DETAIL = "http://yishipi.com.cn/frontend/web/site/news/";
    //public static final String BASE_HTTP = "http://123.57.245.43/yishipi/api/web/v1/";
    public static final String BASE_HTTP = "http://yishipi.com.cn/api/web/v1/";
    public static final String IMG_BASE_URL = "http://yishipi.com.cn/storage/web/source/";
    public static final String IMG_THUMB_BASE_URL = "http://yishipi.com.cn/storage/web/thumb180/";

    public static final String VERSIONUPDATE = BASE_HTTP + "index/last-version";
    public static final String LOGIN = BASE_HTTP + "member/login";
    public static final String REGISTER = BASE_HTTP + "member/register";
    public static final String FORGET_PASSWORD = BASE_HTTP + "member/forget-password";
    public static final String SEND_SMS = BASE_HTTP + "member/send-sms";
    public static final String POINT_LOG = BASE_HTTP + "member-info/point-log";
    public static final String DAY_SIGN = BASE_HTTP + "member/day-sign";
    public static final String POINT_CHANGE = BASE_HTTP + "member-info/point-change-list";
    public static final String HOME_ADS_LIST = BASE_HTTP + "home/ads-list";
    public static final String HOME_FIND_LIST = BASE_HTTP + "home/find-list";
    public static final String CHANGE_VOUCHERS = BASE_HTTP + "member-info/change-vouchers";
    public static final String HOME_FIND_DETAIL = BASE_HTTP + "home/find-detail";
    public static final String MY_VOUCHERS = BASE_HTTP + "member-info/my-vouchers";
    public static final String UPLOADS = BASE_HTTP + "index/uploads";
    public static final String UPDATE_MEMBER = BASE_HTTP + "member/update-member-info";
    public static final String MODIFY_PASSWORD = BASE_HTTP + "member/modify-password";
    public static final String ADD_ADDRESS = BASE_HTTP + "member-info/add-address";
    public static final String MY_ADDRESS = BASE_HTTP + "member-info/my-address";
    public static final String EDIT_ADDRESS = BASE_HTTP + "member-info/edit-address";
    public static final String DEFAULT_ADDRESS = BASE_HTTP + "member-info/default-address";

    public static final String DEL_ADDRESS = BASE_HTTP + "member-info/del-address";
    public static final String APPLY_SHOPER = BASE_HTTP + "shoper/apply-shoper";

    public static final String MEMBER_INFO = BASE_HTTP + "member/member-info";
    public static final String SHOPER_INFO = BASE_HTTP + "shoper/shoper-info";

    public static final String CLASS_LISTS = BASE_HTTP + "home/class-lists";
    public static final String PUBLIC_GOODS1 = BASE_HTTP + "shoper/public-goods1";

    public static final String COUNTRY = BASE_HTTP + "goods-info/country";

    public static final String PUBLIC_GOODS2 = BASE_HTTP + "shoper/public-goods2";
    public static final String PUBLIC_GOODS3 = BASE_HTTP + "shoper/public-goods3";

    public static final String GOODS_LISTS = BASE_HTTP + "goods-info/goods-lists";

    public static final String GOODS_INFO = BASE_HTTP + "goods-info/goods-info";

    public static final String GOODS_DETAIL = BASE_HTTP + "goods-info/goods-detail";

    public static final String MEMBER_COLLECT = BASE_HTTP + "member/collect";

    public static final String MY_GOODS_LIST = BASE_HTTP + "shoper/my-goods-list";

    public static final String COLLECT_LIST = BASE_HTTP + "member/collect-list";

    public static final String SHOP_HOME_PAGE = BASE_HTTP + "shoper/shop-home-page";

    public static final String HOME_GOODS_LIST = BASE_HTTP + "home/home-goods-list";

    public static final String DOWN_DEL_GOODS = BASE_HTTP + "shoper/down-del-goods";

    public static final String GET_BATCHES = BASE_HTTP + "shoper/get-batches";

    public static final String EDIT_GOODS1 = BASE_HTTP + "shoper/edit-goods1";

    public static final String EDIT_GOODS2 = BASE_HTTP + "shoper/edit-goods2";

    public static final String DELETE_AREA_PRICE = BASE_HTTP + "shoper/delete-area-price";

    public static final String EDIT_BATCH_STOCK = BASE_HTTP + "shoper/edit-batch-stock";

    public static final String DELETE_BATCH = BASE_HTTP + "shoper/delete-batch";

    public static final String ADD_BATCH = BASE_HTTP + "shoper/add-batch";

    public static final String EDIT_BATCH = BASE_HTTP + "shoper/edit-batch";

    public static final String JOIN_CART = BASE_HTTP + "order/join-cart";

    public static final String EVALUATE_INFO = BASE_HTTP + "goods-info/evaluate-info";

    public static final String PLACE_ORDER_BY = BASE_HTTP + "order/place-order-by-info";

    public static final String MY_ORDERS = BASE_HTTP + "order/my-orders";

    public static final String GET_CLASSES = BASE_HTTP + "shoper/get-classes";

    public static final String HOT_KEYWORDS = BASE_HTTP + "home/get-hot-keywords";

    public static final String RECOMMEND_GOODS = BASE_HTTP + "goods-info/recommend-goods";

    public static final String CART_LIST = BASE_HTTP + "order/cart-list";

    public static final String DEL_CART = BASE_HTTP + "order/del-cart";

    public static final String DELETE_ORDER = BASE_HTTP + "order/delete-order";

    public static final String DELETE_REFUND = BASE_HTTP + "order/delete-refund";

    public static final String CANCEL_ORDER = BASE_HTTP + "order/cancel-order";

    public static final String CONFIRM_RECEIVE_GOODS = BASE_HTTP + "order/confirm-receive-goods";

    public static final String MODIFY_CART_NUM = BASE_HTTP + "order/modify-cart-num";

    public static final String CHECK_CART = BASE_HTTP + "order/check-cart";

    public static final String ORDER_BY_CART = BASE_HTTP + "order/place-order-by-cart";

    public static final String EDIT_ORDER_ADDRESS = BASE_HTTP + "order/edit-order-address";

    public static final String CONFIRM_ORDER = BASE_HTTP + "order/confirm-order";

    public static final String DEL_MESSAGE = BASE_HTTP + "index/del-message";

    public static final String SYNC_MESSAGE = BASE_HTTP + "index/sync-message";

    public static final String ORDER_DETAIL = BASE_HTTP + "order/order-detail";

    public static final String AVAILABLE_SALE_AREA = BASE_HTTP + "shoper/available-sale-area";

    public static final String PROMOTION_GOODS = BASE_HTTP + "shoper/promotion-goods";

    public static final String PREVIEW_PROMOTION = BASE_HTTP + "shoper/preview-promotion";

    public static final String GET_HX_MEMBERS = BASE_HTTP + "member/get-hx-members";

    public static final String ADD_EVALUATE = BASE_HTTP + "goods-info/add-evaluate";

    public static final String USE_YDX = BASE_HTTP + "order/use-ydx";

    public static final String CANCEL_YDX = BASE_HTTP + "order/cancel-ydx";

    public static final String REFUND_LIST = BASE_HTTP + "order/refund-list";

    public static final String REFUND_INFO = BASE_HTTP + "order/refund-info";

    public static final String BY_ORDER = BASE_HTTP + "order/get-vouchers-by-order";

    public static final String CHOOSE_VOUCHER = BASE_HTTP + "order/choose-voucher";

    public static final String PAY_YEAR_FEE = BASE_HTTP + "member/pay-year-fee";

    public static final String PAY_SHOP_FEE = BASE_HTTP + "member/pay-shop-fee";

    public static final String RETURN_DEL_ORDER = BASE_HTTP + "order/return-del-order";

    public static final String PAY_FOR_LIST = BASE_HTTP + "order/order-pay-for-list";

    public static final String PAY_POINT = BASE_HTTP + "member/pay-point";

    public static final String DEL_IMG = BASE_HTTP + "shoper/del-img";

    public static final String REQUEST_REFUND = BASE_HTTP + "order/request-refund";

    public static final String SUGGESTION = BASE_HTTP + "member/feedback";

    public static final String REFUND_ALL = BASE_HTTP + "order/refund-all";
    //新接口易食批BaseHttp
    public static final String BASE_HTTP_NEWS = "http://news.yishipi.com.cn/api/index.php/api/";
    //分类列表
    public static final String CATEGORY_LIST = BASE_HTTP_NEWS + "home/categoryList";
    //获取个人信息
    public static final String NEW_MEMBER_INFO = BASE_HTTP_NEWS + "member/memberInfo";
    //注册地址
    public static final String NEW_REGISTER = BASE_HTTP_NEWS + "member/register";
    //发送验证码
    public static final String NEW_SEND_CODE = BASE_HTTP_NEWS + "member/sendSms";
    //登陆
    public static final String NEW_LOGIN = BASE_HTTP_NEWS + "member/login";
    //忘记密码
    public static final String NEW_FORGET_PASSWORD = BASE_HTTP_NEWS + "member/forgetPassword";
}
